<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <!-- 当我们带参数又要带有事件参数时,我们要使用 `$event` -->
  <button @click="btn1Click(123,'abc',true,count,$event)">按钮一</button>
</div>


<script src="../js/vue.js"></script>
<script>
  // 1.创建Vue的实例对象
  const app = Vue.createApp({
    data(){
      return {
        count: 0,
      }
    },
    methods:{
      btn1Click(arg1,arg2,arg3,arg4,arg5){
        console.log(arg1, arg2, arg3,arg4,arg5);   // 123 'abc' true 0 PointEvent{...}
      }
    }
  }).mount('#app');
</script>
</body>
</html>